﻿@model Adams.Public.DataTransfer.Web.Businesses.Search.PageLoad
@{
    Layout = "~/Views/Shared/_ContentLayout.cshtml";
}
@section Head{
    <link href="/Content/Businesses/search.css" rel="stylesheet" type="text/css" />
}

<form action="/businesses/search" method="get">
<input type="text" name="criteria" id="criteria" value="@Model.Criteria" />
<input type="submit" value="Search" />
</form>
@foreach (var Business in Model.Businesss)
{
    <div>
        <a href="/businesses/@Business.ID">@Business.Name</a> - @Business.Category.Type.Name - @Business.Category.Name
    </div>
}
@section Scripts {
}
